package com.zpark.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
// 开启服务注册发现
@EnableEurekaClient
// @SpringCloudApplication 相当于 @SpringBootApplication + @EnableEurekaClient
public class EurekaClinetProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(EurekaClinetProviderApplication.class, args);
    }
}
